﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using FreeSql.DataAnnotations;
namespace tcm.entity
{

    [Table(Name = "tcm_user_report")]
    public class UserReport
    {
        public long id { get; set; }

        // `user_id` bigint(64) DEFAULT NULL COMMENT '用户id',
        public long user_id { get; set; }

        //`order_id` bigint(64) DEFAULT NULL COMMENT '订单id',
        public long order_id { get; set; }

        public string name { get; set; }

        public int type { get; set; }

        // `img_url` varchar(1000) DEFAULT NULL COMMENT '图片采集json字符串',

        public string? img_url { get; set; }


        // `price` decimal (10,0) DEFAULT NULL COMMENT '金额',
        public double? price { get; set; }

        //  `remark` varchar(1000) DEFAULT NULL COMMENT '备注信息',

        public string? remark { get; set; }

        //  `doctor_id` bigint(64) DEFAULT NULL COMMENT '医生id',

        public long doctor_id { get; set; }

        //`status` int (11) DEFAULT NULL COMMENT '状态 0未完成 1.已完成',
        public int? status { get; set; }

        public long create_by { get; set; }
        //create_date datetime,
        public DateTime create_date { get; set; }
        //update_by bigint(64),
        public long update_by { get; set; }
        //update_date datetime,
        public DateTime update_date { get; set; }

        public override string ToString()
        {
            return id + "|" + user_id + "|" + order_id + "|" + img_url + "|" + price + "|" + remark + "|" + doctor_id + "|" + status + "|" + create_by + "|" + create_date + "|";
        }
    }
}
